Skip to content

public Election::allowsVoteWeight

Read it at the source

Description

php
public Election->allowsVoteWeight ( [bool $rule = true] ): static

Set the setting and reset all result data. Then the weight of votes (if specified) will be taken into account when calculating the results. Otherwise all votes will be considered equal. By default, the voting weight is not activated and all votes are considered equal.

Parameter

rule: bool

New rule.

Return value

(static) Return True


Released under the MIT License.